package app.server.project.main.service.db.mapper.user;

import app.server.project.main.service.db.entity.user.AccountEntity;
import app.server.project.main.service.dto.cms.IpCountDto;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.Set;


public interface AccountMapper extends BaseMapper<AccountEntity> {
    Set<Long> getAllOpenId();

    IPage<IpCountDto> getAllByCountry(@Param("page") Page<IpCountDto> page);

    IPage<IpCountDto> getAllPayerCountry(@Param("page") Page<IpCountDto> page);
}